﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BackupContracts.Sql
{
    public class SqlDatabaseBackup : ModelBase
    {
        private SqlDatabase _Database;
        public SqlDatabase Database
        {
            get { return _Database; }
            set { SetField(ref _Database, value, () => Database); }
        }

        private DateTimeOffset? _Start;
        public DateTimeOffset? Start
        {
            get { return _Start; }
            set { SetField(ref _Start, value, () => Start); }
        }

        private DateTimeOffset? _Finish;
        public DateTimeOffset? Finish
        {
            get { return _Finish; }
            set { SetField(ref _Finish, value, () => Finish); }
        }

        private string _Id;
        public string Id
        {
            get { return _Id; }
            set { SetField(ref _Id, value, () => Id); }
        }

        private string _Status;
        public string Status
        {
            get { return _Status; }
            set { SetField(ref _Status, value, () => Status); }
        }

        private string _BackupUrl;
        public string BackupUrl
        {
            get { return _BackupUrl; }
            set { SetField(ref _BackupUrl, value, () => BackupUrl); }
        }
    }
}
